home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / cuj9204.zip / 1004092A < prev    next >
Text File  |  1992-06-02  |  216b  |  19 lines

  1.  
  2. #include <stdio.h>
  3.  
  4. enum node_type {Error, Char, Int, Double, String};
  5.  
  6. typedef struct {
  7.     enum node_type type;
  8.     union {
  9.         char c;
  10.         int i;
  11.         double d;
  12.         char *s;
  13.     } value;
  14. } node;
  15.  
  16. void push(node);
  17. node pop(void);
  18.  
  19.